<template>
  <div>
    <header-view-vue v-if="showPage === 0"/>
    <login-header-view-vue v-if="showPage===1"></login-header-view-vue>
    <router-view></router-view>
    <footer-view-vue v-if="showPage === 0"></footer-view-vue>
  </div>
</template>

<script>
import '@/assets/css/style.css'
import HeaderViewVue from './views/HeaderView.vue'
import FooterViewVue from './views/FooterView.vue'
import {mapState} from 'vuex'
import LoginHeaderViewVue from './views/LoginHeaderView.vue'
export default {
  components:{
    HeaderViewVue,
    FooterViewVue,
    LoginHeaderViewVue
  },
  computed:{
    ...mapState(['showPage'])
  }
}
</script>

<style>

</style>
